package com.imooc.pay.service;

import com.imooc.pay.entity.PayInfo;
import com.lly835.bestpay.model.PayResponse;

import java.math.BigDecimal;

public interface PayService {

    //    发起支付或创建支付
    PayResponse create(String orderId, String payPlatform, BigDecimal amount) throws Exception;

    String asyncNotify(String notifyData);

    PayInfo selectByOrderId(Long orderId);

}
